export const endWith = (str, endStr) => {
  var d=str.length-endStr.length;
  return (d>=0&&str.lastIndexOf(endStr)==d)
}
